﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Mall.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>登录页面</title>
    <style type="text/css">
        #LoginForm 
        {
            width: 350px;
            height: 200px;
            margin: auto;
            text-align: center;
            font-size: 20px;
            border: 1px solid black;
        }
        a 
        {
            text-decoration: none;
            cursor: pointer;
        }
        #UserName, #Password 
        {
            width: 150px;
    </style>
</head>
<body style="text-align: center">
    <h1 style="color: Red; margin-top: 50px">XX商城，欢迎你</h1><br />
    <form id="LoginForm" runat="server">
    <div>
        <asp:Panel ID="LoginPanel" runat="server" style="margin-top: 30px;">
            <asp:Label ID="Label1" runat="server" Text="用户名："></asp:Label>
            <asp:TextBox ID="UserName" runat="server"></asp:TextBox><br />
            <asp:Label ID="Label2" runat="server" Text="密码：" style="margin-left: 20px;"></asp:Label>
            <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox><br /><br />
            <asp:Button ID="LoginBtn" runat="server" Text="登 录" onclick="LoginBtn_Click" />
            <asp:Button ID="ResetBtn" runat="server" Text="重 置" style="margin-left: 60px" 
                onclick="ResetBtn_Click" />
        </asp:Panel>
        <p style="font-size: 15px">如果未注册，请点击【<a href="Register.aspx">注册</a>】</p>
    </div>
    </form>
</body>
</html>
